<?php
include"connect_flag.php";
  $sta = $_REQUEST['sta'];
  $flag=0;
        mysqli_query($con, "UPDATE badge_id SET flag = $flag WHERE id = '1' ");
		mysqli_query($con, "UPDATE badge_id SET sta = '$sta' WHERE id = '1' ");

	mysqli_close($con);
	require_once(dirname(__FILE__) . "/print-sta.php");
	
?>